Skip to content

Change default indentation from 2 to 4 spaces#184

Merged
webdevred merged 2 commits intomasterfrom
jbfl/default-indent-4
Apr 4, 2026
Merged

Change default indentation from 2 to 4 spaces#184
webdevred merged 2 commits intomasterfrom
jbfl/default-indent-4

Conversation

@webdevred
Copy link
Copy Markdown
Owner

@webdevred webdevred commented Mar 31, 2026

Summary

  • Change the default indentation fallback from 2 to 4 spaces to match BeamNG's JBeam file convention
  • Add explicit Indent: 2 rule to complex.jbfl to preserve its existing 2-space fixture output
  • Regenerate all fixtures

Test plan

  • Verify cabal test --project-file=cabal.project.dev passes
  • Confirm minimal-jbfl fixtures use 4-space indent
  • Confirm complex-jbfl fixtures still use 2-space indent

BeamNG JBeam files use 4-space indentation. The complex.jbfl
fixture gets an explicit Indent: 2 rule to preserve its existing
2-space output. All fixtures regenerated.
@webdevred webdevred merged commit d249160 into master Apr 4, 2026
12 checks passed
@webdevred webdevred deleted the jbfl/default-indent-4 branch April 4, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant